package com.crm.pojo.vo;

import com.crm.pojo.common.PublicFields;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;


@Data
public class ActivityListVo  {

    private Integer id;
    private String code;
    private String name;
    private String channel;
    private String info;
    private String type;
    private Double discount;
    private String vouchers;
//    private String stratus;
    private String status;
//    private String introduction;
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime beginTime;
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime endTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    private String createBy;
    private String updateBy;

}
